.class Lcom/xingbook/baike/activity/r;
.super Landroid/os/Handler;


# instance fields
.field private a:Ljava/lang/ref/WeakReference;


# direct methods
.method protected constructor <init>(Lcom/xingbook/baike/activity/BaikeCommentActivity;)V
    .locals 1

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    new-instance v0, Ljava/lang/ref/WeakReference;

    invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    iput-object v0, p0, Lcom/xingbook/baike/activity/r;->a:Ljava/lang/ref/WeakReference;

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 11

    const/16 v3, 0x8

    const/4 v4, 0x1

    const/4 v2, 0x0

    const/4 v10, 0x0

    iget-object v0, p0, Lcom/xingbook/baike/activity/r;->a:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/baike/activity/BaikeCommentActivity;

    if-nez v0, :cond_0

    :goto_0
    return-void

    :cond_0
    iget v1, p1, Landroid/os/Message;->what:I

    sparse-switch v1, :sswitch_data_0

    :cond_1
    :goto_1
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    goto :goto_0

    :sswitch_0
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->g(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1, v3}, Landroid/view/View;->setVisibility(I)V

    iget v1, p1, Landroid/os/Message;->arg1:I

    if-eq v1, v4, :cond_1

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->h(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/ui/ae;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/ui/ae;->a()V

    goto :goto_1

    :sswitch_1
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->e(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/group/a/p;

    move-result-object v4

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->i(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/widget/TextView;

    move-result-object v1

    invoke-virtual {v4}, Lcom/xingbook/group/a/p;->u()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v1, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->j(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/widget/TextView;

    move-result-object v1

    iget v5, v4, Lcom/xingbook/group/a/p;->d:I

    invoke-static {v5}, Lcn/a/a/d/j;->a(I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v1, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->k(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/widget/TextView;

    move-result-object v1

    invoke-virtual {v4}, Lcom/xingbook/group/a/p;->j()Ljava/lang/CharSequence;

    move-result-object v5

    invoke-virtual {v1, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->l(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/widget/ImageView;

    move-result-object v5

    iget-boolean v1, v4, Lcom/xingbook/group/a/p;->f:Z

    if-eqz v1, :cond_2

    move v1, v2

    :goto_2
    invoke-virtual {v5, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->m(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/widget/ImageView;

    move-result-object v5

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v6

    iget-wide v8, v4, Lcom/xingbook/group/a/p;->c:J

    sub-long/2addr v6, v8

    invoke-static {v6, v7}, Ljava/lang/Math;->abs(J)J

    move-result-wide v6

    const-wide/32 v8, 0x36ee80

    cmp-long v1, v6, v8

    if-gez v1, :cond_3

    move v1, v2

    :goto_3
    invoke-virtual {v5, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->n(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/widget/ImageView;

    move-result-object v5

    iget-boolean v1, v4, Lcom/xingbook/group/a/p;->i:Z

    if-eqz v1, :cond_4

    move v1, v2

    :goto_4
    invoke-virtual {v5, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->o(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/widget/ImageView;

    move-result-object v5

    iget-boolean v1, v4, Lcom/xingbook/group/a/p;->h:Z

    if-eqz v1, :cond_5

    move v1, v2

    :goto_5
    invoke-virtual {v5, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-boolean v1, v4, Lcom/xingbook/group/a/p;->j:Z

    if-eqz v1, :cond_6

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->p(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/widget/TextView;

    move-result-object v1

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->q(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/graphics/drawable/Drawable;

    move-result-object v5

    invoke-virtual {v1, v5, v10, v10, v10}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->p(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/widget/TextView;

    move-result-object v1

    const-string v5, "\u53d6\u6d88\u6536\u85cf"

    invoke-virtual {v1, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_6
    iget-boolean v1, v4, Lcom/xingbook/group/a/p;->l:Z

    if-eqz v1, :cond_7

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->k(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/widget/TextView;

    move-result-object v1

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->s(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/graphics/drawable/Drawable;

    move-result-object v5

    invoke-virtual {v1, v5, v10, v10, v10}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    :goto_7
    invoke-virtual {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->b()V

    invoke-virtual {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->h()Z

    move-result v1

    if-eqz v1, :cond_8

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->u(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/widget/TextView;

    move-result-object v1

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_8
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->v(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/baike/a/b;

    move-result-object v1

    iget-object v3, v4, Lcom/xingbook/group/a/p;->o:Ljava/util/ArrayList;

    invoke-virtual {v1, v3}, Lcom/xingbook/baike/a/b;->b(Ljava/util/ArrayList;)V

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->f(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/handmark/pulltorefresh/library/PullToRefreshListView;

    move-result-object v1

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->v(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/baike/a/b;

    move-result-object v3

    invoke-virtual {v1, v3}, Lcom/handmark/pulltorefresh/library/PullToRefreshListView;->setAdapter(Landroid/widget/ListAdapter;)V

    const v1, 0x7f0a016d

    invoke-virtual {v0, v1}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1, v2}, Landroid/view/View;->setVisibility(I)V

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->h(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/ui/ae;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/ui/ae;->b()V

    goto/16 :goto_1

    :cond_2
    move v1, v3

    goto/16 :goto_2

    :cond_3
    move v1, v3

    goto :goto_3

    :cond_4
    move v1, v3

    goto :goto_4

    :cond_5
    move v1, v3

    goto :goto_5

    :cond_6
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->p(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/widget/TextView;

    move-result-object v1

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->r(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/graphics/drawable/Drawable;

    move-result-object v5

    invoke-virtual {v1, v5, v10, v10, v10}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->p(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/widget/TextView;

    move-result-object v1

    const-string v5, "\u6536\u85cf"

    invoke-virtual {v1, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_6

    :cond_7
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->k(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/widget/TextView;

    move-result-object v1

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->t(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/graphics/drawable/Drawable;

    move-result-object v5

    invoke-virtual {v1, v5, v10, v10, v10}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    goto :goto_7

    :cond_8
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->u(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/widget/TextView;

    move-result-object v1

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_8

    :sswitch_2
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->v(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/baike/a/b;

    move-result-object v1

    invoke-virtual {v1}, Lcom/xingbook/baike/a/b;->getCount()I

    move-result v1

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->v(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/baike/a/b;

    move-result-object v2

    iget v2, v2, Lcom/xingbook/baike/a/b;->a:I

    if-le v1, v2, :cond_9

    const-string v1, "\u7531\u4e8e\u7f51\u7edc\u539f\u56e0\u52a0\u8f7d\u5931\u8d25\uff01"

    invoke-static {v0, v1, v4}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    :goto_9
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->h(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/ui/ae;

    move-result-object v1

    invoke-virtual {v1}, Lcom/xingbook/ui/ae;->b()V

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->w(Lcom/xingbook/baike/activity/BaikeCommentActivity;)V

    goto/16 :goto_1

    :cond_9
    const-string v1, "\u52a0\u8f7d\u5931\u8d25\uff0c\u8bf7\u68c0\u67e5\u7f51\u7edc\u540e\u8f7b\u89e6\u5c4f\u5e55\u91cd\u8bd5\uff01"

    invoke-static {v0, v1}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->a(Lcom/xingbook/baike/activity/BaikeCommentActivity;Ljava/lang/String;)V

    goto :goto_9

    :sswitch_3
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->v(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/baike/a/b;

    move-result-object v1

    invoke-virtual {v1}, Lcom/xingbook/baike/a/b;->getCount()I

    move-result v1

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->v(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/baike/a/b;

    move-result-object v2

    iget v2, v2, Lcom/xingbook/baike/a/b;->a:I

    if-le v1, v2, :cond_a

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "\u52a0\u8f7d\u5931\u8d25\uff1a"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v2, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v4}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    :goto_a
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->h(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/ui/ae;

    move-result-object v1

    invoke-virtual {v1}, Lcom/xingbook/ui/ae;->b()V

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->w(Lcom/xingbook/baike/activity/BaikeCommentActivity;)V

    goto/16 :goto_1

    :cond_a
    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "\u52a0\u8f7d\u5931\u8d25\uff1a"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v2, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, ",\u8f7b\u89e6\u5c4f\u5e55\u91cd\u8bd5\uff01"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->a(Lcom/xingbook/baike/activity/BaikeCommentActivity;Ljava/lang/String;)V

    goto :goto_a

    :sswitch_4
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->x(Lcom/xingbook/baike/activity/BaikeCommentActivity;)V

    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

    invoke-static {v0, v1, v4}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_1

    :sswitch_5
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->x(Lcom/xingbook/baike/activity/BaikeCommentActivity;)V

    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

    invoke-static {v0, v1, v4}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_1

    :sswitch_6
    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

    invoke-static {v0, v1, v2}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->a(Lcom/xingbook/baike/activity/BaikeCommentActivity;Ljava/lang/String;Z)V

    goto/16 :goto_1

    :sswitch_7
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->x(Lcom/xingbook/baike/activity/BaikeCommentActivity;)V

    goto/16 :goto_1

    :sswitch_8
    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

    iget v2, p1, Landroid/os/Message;->arg1:I

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_1

    :sswitch_9
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->y(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/group/view/ReplyRelativeLayout;

    move-result-object v1

    invoke-virtual {v1, v10}, Lcom/xingbook/group/view/ReplyRelativeLayout;->b(Ljava/lang/String;)V

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->x(Lcom/xingbook/baike/activity/BaikeCommentActivity;)V

    const-string v1, "\u56de\u590d\u6210\u529f"

    invoke-static {v0, v1, v4}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_1

    :sswitch_a
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->x(Lcom/xingbook/baike/activity/BaikeCommentActivity;)V

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v3, "\u56de\u590d\u5931\u8d25\uff1a"

    invoke-direct {v1, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v3, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_1

    :sswitch_b
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->v(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/baike/a/b;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/baike/a/b;->a()V

    goto/16 :goto_1

    :sswitch_c
    iget v1, p1, Landroid/os/Message;->arg2:I

    if-nez v1, :cond_c

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->v(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/baike/a/b;

    move-result-object v1

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->z(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Ljava/util/ArrayList;

    move-result-object v3

    invoke-virtual {v1, v3}, Lcom/xingbook/baike/a/b;->a(Ljava/util/ArrayList;)V

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->e(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/group/a/p;

    move-result-object v1

    iget-object v1, v1, Lcom/xingbook/group/a/p;->o:Ljava/util/ArrayList;

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->z(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Ljava/util/ArrayList;

    move-result-object v3

    invoke-virtual {v1, v3}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->z(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/ArrayList;->clear()V

    :goto_b
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->v(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/baike/a/b;

    move-result-object v1

    iget v0, p1, Landroid/os/Message;->arg1:I

    if-ne v0, v4, :cond_b

    move v2, v4

    :cond_b
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v1, v2, v0}, Lcom/xingbook/baike/a/b;->a(ZLjava/lang/String;)V

    goto/16 :goto_1

    :cond_c
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->v(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/baike/a/b;

    move-result-object v1

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->z(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Ljava/util/ArrayList;

    move-result-object v3

    invoke-virtual {v1, v3}, Lcom/xingbook/baike/a/b;->b(Ljava/util/ArrayList;)V

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->f(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/handmark/pulltorefresh/library/PullToRefreshListView;

    move-result-object v1

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->v(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/baike/a/b;

    move-result-object v3

    invoke-virtual {v1, v3}, Lcom/handmark/pulltorefresh/library/PullToRefreshListView;->setAdapter(Landroid/widget/ListAdapter;)V

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->e(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/group/a/p;

    move-result-object v1

    iget-object v1, v1, Lcom/xingbook/group/a/p;->o:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->clear()V

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->e(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/group/a/p;

    move-result-object v1

    iget-object v1, v1, Lcom/xingbook/group/a/p;->o:Ljava/util/ArrayList;

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->z(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Ljava/util/ArrayList;

    move-result-object v3

    invoke-virtual {v1, v3}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->z(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/ArrayList;->clear()V

    goto :goto_b

    :sswitch_d
    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->v(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/baike/a/b;

    move-result-object v1

    const-string v3, "\u52a0\u8f7d\u66f4\u591a\u00b7\u00b7\u00b7"

    invoke-virtual {v1, v2, v3}, Lcom/xingbook/baike/a/b;->a(ZLjava/lang/String;)V

    iget v1, p1, Landroid/os/Message;->arg2:I

    if-ne v1, v4, :cond_1

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->w(Lcom/xingbook/baike/activity/BaikeCommentActivity;)V

    goto/16 :goto_1

    :sswitch_e
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->x(Lcom/xingbook/baike/activity/BaikeCommentActivity;)V

    iget v1, p1, Landroid/os/Message;->arg1:I

    if-ne v1, v4, :cond_d

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->e(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/group/a/p;

    move-result-object v1

    iput-boolean v4, v1, Lcom/xingbook/group/a/p;->l:Z

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->e(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/group/a/p;

    move-result-object v1

    invoke-virtual {v1}, Lcom/xingbook/group/a/p;->k()V

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->k(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/widget/TextView;

    move-result-object v1

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->e(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/group/a/p;

    move-result-object v2

    invoke-virtual {v2}, Lcom/xingbook/group/a/p;->j()Ljava/lang/CharSequence;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->k(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/widget/TextView;

    move-result-object v1

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->s(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    invoke-virtual {v1, v0, v10, v10, v10}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    goto/16 :goto_1

    :cond_d
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->e(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/group/a/p;

    move-result-object v1

    iput-boolean v2, v1, Lcom/xingbook/group/a/p;->l:Z

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->e(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/group/a/p;

    move-result-object v1

    invoke-virtual {v1}, Lcom/xingbook/group/a/p;->l()V

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->k(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/widget/TextView;

    move-result-object v1

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->t(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/graphics/drawable/Drawable;

    move-result-object v2

    invoke-virtual {v1, v2, v10, v10, v10}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->k(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/widget/TextView;

    move-result-object v1

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->e(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/group/a/p;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/group/a/p;->j()Ljava/lang/CharSequence;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_1

    :sswitch_f
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->x(Lcom/xingbook/baike/activity/BaikeCommentActivity;)V

    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_1

    :sswitch_10
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->x(Lcom/xingbook/baike/activity/BaikeCommentActivity;)V

    iget v1, p1, Landroid/os/Message;->arg1:I

    if-ne v1, v4, :cond_e

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->e(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/group/a/p;

    move-result-object v1

    iput-boolean v4, v1, Lcom/xingbook/group/a/p;->j:Z

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->p(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/widget/TextView;

    move-result-object v1

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->q(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/graphics/drawable/Drawable;

    move-result-object v2

    invoke-virtual {v1, v2, v10, v10, v10}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->p(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/widget/TextView;

    move-result-object v0

    const-string v1, "\u53d6\u6d88\u6536\u85cf"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_1

    :cond_e
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->e(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/group/a/p;

    move-result-object v1

    iput-boolean v2, v1, Lcom/xingbook/group/a/p;->j:Z

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->p(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/widget/TextView;

    move-result-object v1

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->r(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/graphics/drawable/Drawable;

    move-result-object v2

    invoke-virtual {v1, v2, v10, v10, v10}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->p(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Landroid/widget/TextView;

    move-result-object v0

    const-string v1, "\u6536\u85cf"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_1

    :sswitch_11
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->x(Lcom/xingbook/baike/activity/BaikeCommentActivity;)V

    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_1

    :sswitch_12
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->x(Lcom/xingbook/baike/activity/BaikeCommentActivity;)V

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->v(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/baike/a/b;

    move-result-object v3

    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

    invoke-virtual {v3, v1}, Lcom/xingbook/baike/a/b;->a(Ljava/lang/String;)V

    const-string v1, "\u5220\u9664\u8bc4\u8bba\u6210\u529f\uff01"

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_1

    :sswitch_13
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->x(Lcom/xingbook/baike/activity/BaikeCommentActivity;)V

    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_1

    :sswitch_14
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->x(Lcom/xingbook/baike/activity/BaikeCommentActivity;)V

    const-string v1, "\u5220\u9664\u8bdd\u9898\u6210\u529f\uff01"

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    invoke-virtual {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->finish()V

    goto/16 :goto_1

    :sswitch_15
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->x(Lcom/xingbook/baike/activity/BaikeCommentActivity;)V

    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_1

    :sswitch_16
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->x(Lcom/xingbook/baike/activity/BaikeCommentActivity;)V

    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Lcom/xingbook/group/a/h;

    invoke-virtual {v1}, Lcom/xingbook/group/a/h;->c()V

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->v(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/baike/a/b;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/baike/a/b;->notifyDataSetChanged()V

    goto/16 :goto_1

    :sswitch_17
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->x(Lcom/xingbook/baike/activity/BaikeCommentActivity;)V

    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_1

    :sswitch_18
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->x(Lcom/xingbook/baike/activity/BaikeCommentActivity;)V

    invoke-virtual {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->b()V

    goto/16 :goto_1

    :sswitch_19
    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->x(Lcom/xingbook/baike/activity/BaikeCommentActivity;)V

    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

    invoke-static {v0, v1, v4}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_1

    :sswitch_data_0
    .sparse-switch
        -0x1 -> :sswitch_2
        0x1 -> :sswitch_0
        0x2 -> :sswitch_3
        0x3 -> :sswitch_4
        0x4 -> :sswitch_5
        0x7 -> :sswitch_6
        0x8 -> :sswitch_7
        0x9 -> :sswitch_8
        0xa -> :sswitch_9
        0xb -> :sswitch_a
        0xc -> :sswitch_b
        0xd -> :sswitch_c
        0xe -> :sswitch_d
        0xf -> :sswitch_e
        0x10 -> :sswitch_f
        0x11 -> :sswitch_10
        0x12 -> :sswitch_11
        0x13 -> :sswitch_12
        0x14 -> :sswitch_13
        0x15 -> :sswitch_14
        0x16 -> :sswitch_15
        0x17 -> :sswitch_16
        0x18 -> :sswitch_17
        0x19 -> :sswitch_18
        0x1a -> :sswitch_19
        0xc8 -> :sswitch_1
    .end sparse-switch
.end method
